const { renameFolder } = require("../index");
const dir = "D:\\资质文件\\上海联通2";

renameFolder(
  dir,
  function (name) {
    console.log(name);
    return name + "2";
    // const newName = name.replace("package-record", "agent-company");
    // console.log(name, newName);
    // return newName;
  },
  true
);
